<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    for(var h=0;h<3;h++){
        for(var j=0;j<3;j++){
            for(var i=0;i<3;i++){
                document.write("*");
            }
            document.write("<br/>");
        }
        document.write("<br>");
    }


</script>
</body>
</html>